From: Florian Müllner Date: Wed, 29 Apr 2020 22:43:32 +0000 (+0200) Subject: messageTray: Add missing property getter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~434 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5e254666b0ad459b480dca454788ca0d0003ba8c;p=gnome-shell.git messageTray: Add missing property getter gjs has gotten less forgiving about missing getters/setters, and commit 6aa1b817 missed the missing getter in the base policy class. Most notifications use a policy subclass that already provides a getter, but at least Main.notify() and friends don't; unbreak them by fixing the base class. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1229 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index dc5ed9ce1..058f1ef91 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -162,6 +162,10 @@ var NotificationPolicy = GObject.registerClass({ this.run_dispose(); } + get enable() { + return true; + } + get enableSound() { return true; }